package com.itheima.reggie.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.itheima.reggie.domain.SetmealDish;
import org.springframework.stereotype.Repository;

import java.util.List;

@Repository
public interface SetmealDishMapper extends BaseMapper<SetmealDish> {

    /**
     * 根据套餐id查询菜品
     * @param id
     * @return
     */
    List<SetmealDish> findBySetmealId(Long id);
}
